package com.jxau.subject.application.convert;

import com.jxau.subject.application.dto.SubjectCategoryDTO;
import com.jxau.subject.application.dto.SubjectInfoDTO;
import com.jxau.subject.domain.entity.SubjectCategoryBO;
import com.jxau.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDtoToBo(SubjectInfoDTO dto);

    List<SubjectInfoDTO> convertBoToDto(List<SubjectInfoBO> boList);

    SubjectInfoDTO convertBoToDto(SubjectInfoBO boResult);
}
